* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1890ff;
}

html, body, #app {
  width: 100%;
  height: 100%;
}

.g6-contextmenu {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 6px rgba(0, 0, 0, 0.5);

  .g6-contextmenu-ul {
    padding: 10px;

    .g6-contextmenu-li {
      font-size: 18px;
    }
  }
}

.loadingMask {
  position: relative;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: rgba(255, 255, 255, 1);
  }

  &::after {
    content: "\e891";
    font-size: 60px;
    position: absolute;
    z-index: 1001;
    font-family: "iconfont", serif;
    top: 50%;
    color: var(--primary-color);
    left: calc(50% - 50px);
    animation: loading 2s linear infinite;
  }
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

